<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Microsoft SQL Server and Sybase Functions (PDO_DBLIB)</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="pdo.cubrid-schema.html">PDO::cubrid_schema</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-dblib.connection.html">PDO_DBLIB DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO 驱动</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.pdo-dblib" class="reference">
  
  <h1 class="title">Microsoft SQL Server and Sybase Functions (PDO_DBLIB)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-dblib.intro">
   <h2 class="title">简介</h2>
    <p class="para">
     <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此扩展是<em class="emphasis">实验性 </em>的。
此扩展的表象，包括其函数名称以及其他此扩展的相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本扩展风险自担 。</p></div>
     PDO_DBLIB is a driver that implements the <a href="intro.pdo.html" class="link">PHP
     Data Objects (PDO) interface</a> to enable access from PHP to
     Microsoft SQL Server and Sybase databases through the FreeTDS libary.
    </p>
    <p class="para">
     This extension is not available anymore on Windows with PHP 5.3 or later.
    </p>
    <p class="para">
     On Windows, you should use SqlSrv, an alternative driver for MS SQL is 
     available from Microsoft: <a href="http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx" class="link external">&raquo;&nbsp;http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx
     </a>.
    </p>
    <p class="para">
     If it is not possible to use SqlSrv, you can use the 
     <a href="ref.pdo-odbc.html" class="link">PDO_ODBC</a> driver to connect to 
     Microsoft SQL Server and Sybase databases, as the native Windows DB-LIB 
     is ancient, thread un-safe and no longer supported by Microsoft.
    </p>
   </div>
  </div>

  

 <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-dblib.connection.html">PDO_DBLIB DSN</a> — Connecting to Microsoft SQL Server and Sybase databases</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="pdo.cubrid-schema.html">PDO::cubrid_schema</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.pdo-dblib.connection.html">PDO_DBLIB DSN</a></div>
 <div class="up"><a href="pdo.drivers.html">PDO 驱动</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
